package com.grgbanking.encryp.constant;

public enum ErrorCode {

    SUCCESS("000000","校验通过"),

    ERROR_UnknownMsgType("100000","未知消息类型"),
    ERROR_NULL_PARAM("100001","参数为空"),


    ERROR_Exception("200000","Unknown Exception"),
    ERROR_ProcMsgDetailException("200001","处理消息详情异常"),
    ERROR_InvalidArgument("200002","处理消息详情异常")
    ;

    private String code;
    private String message;

    ErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}